<?php

class CatalogCategoryController extends My_Controller_Action {

    public function indexAction() {
        $this->setContentTitle(_('XXX_CATALOG_CATEGORY_INDEX_PAGE_TITLE'));
        $daoCategory = new Application_Model_DAO_CatalogCategory();
        $cats = $daoCategory->getFullCategories();
        $this->view->categories = $cats;
    }
    
    public function shortAction() {
        $this->indexAction();
        $this->renderScript('catalog-category/list-categories-short.phtml');
        return;
    }

}

